<?php

return [
    //基础返回值
    'SUCCESS' => 'success',
    'ERROR' => 'error',
    'FAIL' => 'fail',
    'SAVE_SUCCESS' => 'save success',
    'SAVE_FAIL' => 'save fail',
    'ADD_SUCCESS' => 'add success',
    'ADD_FAIL' => 'add fail',
    'EDIT_SUCCESS' => 'edit success',
    'EDIT_FAIL' => 'edit fail',
    'REQUEST_SUCCESS' => 'request success',
    'REQUEST_FAIL' => 'request error',
    'DELETE_SUCCESS' => 'delete success',
    'DELETE_FAIL' => 'delete fail',
    'UNKNOW_ERROR' => 'unknow error',
    'PARAMETER_ERROR' => 'parameter error',
    'USERNAME_MUST' => 'username must',
    'PASSWORD_MUST' => 'password must',
    'LOGIN_SUCCESS' => 'login success',
    'LOGINOUT_SUCCESS' => 'loginout success',
    //用户
    'ENTER_USER_NAME' => 'enter username',
    'USER' => 'user',
    'WRONG_SER_NAME_OR_PASSWORD' => 'Wrong user name or password',
    'ACCOUNT_HAS_BEEN_FROZEN' => 'Account has been frozen',
    'NO_PERMISSION' => 'Sorry, you do not have permission',
    //菜单
    'UP_MENU_NOT_ENPTY' => 'Superior menu cannot be empty',
    'NO_MENU' => 'menu does not exist',
    //上传
    'UPLOAD_TYPE_CANTNOT_EMPTY' => 'Upload type cannot be empty',
    'UPLOAD_TYPE_NOT_EXIST' => 'Upload type does not exist',
    'UPLOAD_FILE_CANTNOT_EMPTY' => 'Upload file name cannot be empty',
    'UPLOAD_METHOD_NOT_EXIST' => 'The upload method does not exist',
];